<template>
  <div class="home">
    <HelloWorld msg="Welcome to Your Vue.js App" />
  </div>
</template>

<script>
import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'HomeView',
  data() {
    return {
      list: []
    }
  },
  created() {
    this.getNoticeList()
  },
  methods: {
    async getNoticeList() {
      this.list = await this.$http.home.notice();
      console.log(this.list)
    },
  },
  components: {
    HelloWorld
  }
}
</script>

<style scoped lang='less'>
@import "~@less/Home.less";
</style>

